import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);

import company from "../comp/company"; //公司概况
import notice from "../comp/newNotice"; //新闻公告
import partner from "../comp/partner"; //股东研究
import businessAnalysis from "../comp/businessAnalysis"; //经营分析
import structure from "../comp/structure"; //股本结构
import profit from "../comp/profit"; //分红融资
import report from "../comp/report"; //研究报告
// import fund from "../comp/fund"; //资本运作
// import infoprofit from "../comp/infoprofit"; //盈利预测
import mngChg from "../comp/mngChg"; //公司高管
import finance from "../comp/finance/index"; //财务分析
import coreTheme from "../comp/coreTheme"; //核心题材
import comparison from "../comp/comparison"; //同行比较
import relevance from "../comp/relevance"; //关联个股
import companyEvent from "../comp/companyEvent"; //公司大事
import guide from "../comp/guide"; //操盘必读

// import fund from "../comp/fund"; //资本运作
// import infoprofit from "../comp/infoprofit"; //盈利预测

//路由级别的组件名称大写
export default new Router({
  routes: [{
      path: "/",
      redirect: "/company"
    },
    {
      path: "/company",
      component: company
    }, //公司概况
    {
      path: "/notice",
      component: notice
    }, //新闻公告
    {
      path: "/partner",
      component: partner
    }, //股东研究
    {
      path: "/businessAnalysis",
      component: businessAnalysis
    }, //经营分析
    {
      path: "/structure",
      component: structure
    }, //股本结构
    {
      path: "/profit",
      component: profit
    }, //分红融资
    {
      path: "/report",
      component: report
    }, //研究报告
    // {
    //   path: "/fund",
    //   component: fund
    // }, //资本运作
    // {
    //   path: "/infoprofit",
    //   component: infoprofit
    // }, //盈利预测
    {
      path: "/mngChg",
      component: mngChg
    }, //公司高管
    {
      path: "/finance",
      component: finance
    }, //财务分析
    {
      path: "/coreTheme",
      component: coreTheme
    }, //核心题材
    {
      path: "/comparison",
      component: comparison
    }, //同行比较
    {
      path: "/relevance",
      component: relevance
    }, //关联个股
    {
      path: "/companyEvent",
      component: companyEvent
    }, //公司大事
    {
      path: "/guide",
      component: guide
    } //操盘必读

    // { path: "/fund", component: fund }, //资本运作
    // { path: "/infoprofit", component: infoprofit }, //盈利预测
  ]
});